<template>
	<view>
	<view id="user">
		<view>
			<open-data type="userAvatarUrl" id="user_img"></open-data>
			<open-data type="userNickName"></open-data>
		</view>
		<view class="back_img">
		</view>
	</view>
	<view id="user_type">
		<view class="user_back">
			<view class="user_cont">
				<text class="iconfont icon-hetong"></text><text>我的合同</text>
			</view>
			<view class="wire"></view>
			<view class="user_cont">
				<text class="iconfont icon-yonghuziliao-xianxing"></text><text>我的资料</text>
			</view>
			<view class="wire"></view>
			<view class="user_cont">
				<text class="iconfont icon-wodecheliang"></text><text>我的车辆</text>
			</view>
			<view class="wire"></view>
			<view class="user_cont">
				<text class="iconfont icon-guanyuwomen"></text><text>关于我们</text>
			</view>
			<view class="wire"></view>
			<view class="user_cont">
				<text class="iconfont icon-tuichu"></text><text>退出登录</text>
			</view>
		</view>
	</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				title: 'Hello'
			}
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>
<style lang="less">
	@import url("~@/static/icon/iconfont.css");

	#user {
		padding: 50rpx;
		position: relative;

		view {
			display: flex;
			flex-direction: column;
			align-items: center;
			justify-content: center;

			open-data:last-of-type {
				color: #434343;
				font-weight: 600;
			}
		}
	}

	#user_img {
		width: 300rpx;
		height: 300rpx;
		border-radius: 150rpx;
		overflow: hidden;
		margin: 30rpx;
	}


	.back_img {
		background-color: #e7e7e7;
		border-radius: 30rpx;
		height: 240rpx;
		width: 650rpx;
		position: absolute;
		z-index: -2;
		top: 240rpx;
	}

	#user_type {
		background-color: #1296db;
		height: 750rpx;
		position: absolute;
		z-index: -3;
		bottom: 0;
		width: 750rpx;
		padding: 200rpx 50rpx 0 50rpx;
		box-sizing: border-box;
		border-top-left-radius: 30rpx;
		border-top-right-radius: 30rpx;

		.user_back {
			border: 10rpx double #FFFFFF;
			border-radius: 20rpx;
			padding: 0 40rpx;

			.user_cont {
				padding: 25rpx;
				text-align: center;
				.iconfont{
					display: inline-block;
					margin-right: 30rpx;
				}
				text {
					color: #FFFFFF;
				}
			}
		}
	}

	.wire {
		height: 3px;
		background-color: #FFFFFF;
	}
</style>
